package com.example.springboot01.resp.enums;

public enum ProfessorRespEnum implements RespEnum {


    DELETE_ERROR(10001, "删除失败,该专业下面有未删除的班级"),


    ;


    private String msg;

    private int code;

    ProfessorRespEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }

    @Override
    public int getCode() {
        return this.code;
    }
}
